﻿<%@ Page Language="C#" MasterPageFile="~/Manager/Manager.Master" AutoEventWireup="true" CodeBehind="ManBannerUpdate.aspx.cs" Inherits="BatDongSan.Manager.ManBannerUpdate" Theme="cvkadmin" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" runat="server">
    <div>
        <div style="float: left">
        </div>
        <div style="padding: 0px 10px 0px 0px;" align="right">
            <asp:Label ID="lbStatus" runat="server" Font-Italic="True" ForeColor="#FF3300"></asp:Label>
            <asp:LinkButton ID="LinkButton1" CssClass="linkbutton" Font-Size="Larger" PostBackUrl="~/Manager/ManBanner.aspx"
                runat="server">Quản lý (back)</asp:LinkButton>
        </div>
    </div>
    <br />
    <div>
        <table cellpadding="3" cellspacing="0" border="0">
            <tr>
                <td style="width: 130px; text-align: right;">
                    Vị trí<span style="color: Red; font-weight: normal;">(*)</span>:
                </td>
                <td>
                    <asp:DropDownList ID="ddlVitri" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td style="width: 130px; text-align: right;">
                    Tiêu đề <span style="color: Red; font-weight: normal;">(*)</span>:
                </td>
                <td>
                    <asp:TextBox ID="txtName" runat="server" Width="600px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="width: 130px; text-align: right;">
                    Chọn loại File<span style="color: Red; font-weight: normal;">(*)</span>:
                </td>
                <td>
                    <asp:DropDownList ID="ddlFile" runat="server">
                        <asp:ListItem Value="1" Selected="True">Hình ảnh</asp:ListItem>
                        <asp:ListItem Value="2">File Flash</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td style="width: 130px; text-align: right;">
                    Chọn File<span style="color: Red; font-weight: normal;">(*)</span>:
                </td>
                <td>
                    <asp:FileUpload ID="FileUpload1" runat="server" />
                    <asp:HiddenField ID="HiddenField1" runat="server" />
                </td>
            </tr>            
            <tr>
                <td style="width: 130px; text-align: right;">
                    Đường dẫn <span style="color: Red; font-weight: normal;">(*)</span>:
                </td>
                <td>
                    <asp:TextBox ID="txtLink" runat="server" Width="600px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="width: 130px; text-align: right;">
                    Kích thước <span style="color: Red; font-weight: normal;">(*)</span>:
                </td>
                <td>
                    <asp:TextBox ID="txtWidth" runat="server" Width="50px"></asp:TextBox> [Chiều dài] X 
                    <asp:TextBox ID="txtHeight" runat="server" Width="50px"></asp:TextBox> [Chiều cao]
                </td>
            </tr>
            <tr>
                <td style="width: 130px; text-align: right;">
                </td>
                <td>
                    <asp:CheckBox ID="ckbActive" runat="server" Text="Ẩn/Hiện" />
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td align="right">
                    <asp:Button ID="btnUpdate" runat="server" CssClass="linkbutton" onclick="btnUpdate_Click" 
                        Text="Cập nhật" />
                        <asp:Button ID="btnReset" runat="server" CssClass="linkbutton" 
                        Text="Khởi tạo" onclick="btnReset_Click" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
